{% load future wenlincms_tags wlcore_tags report_tags %}
<h1 class="pdf-headtitle">五、风险失信</h1>
<div class="pdf-divbox">
    <h2 class="pdf-secondtitle">4.1 股权冻结历史数据</h2>
    {% if  el_stockfrosts %}
        <table class="pdf-table">
            <thead>
            <tr>
                <th style="width: 20px;"></th>
                <th style="width: 100px;">冻结文号</th>
                <th style="width: 90px;">冻结机关</th>
                <th style="width: 80px;">起始日期</th>
                <th style="width: 80px;">截至日期</th>
                <th style="width: 70px;">冻结金额(万元)</th>
                <th style="width: 80px;">解冻机关</th>
                <th style="width: 80px;">解冻文号</th>
                <th style="width: 80px;">解冻日期</th>
                <th>解冻说明</th>
            </tr>
            </thead>
            <tbody>
            {% for res in el_stockfrosts %}
                <tr>
                    <td class="pdf-counter">{{ forloop.counter }}</td>
                    <td>{{ res.FRODOCNO|elweizhi }}</td>
                    <td>{{ res.FROAUTH|elweizhi }}</td>
                    <td>{{ res.FROFROM|date:"Y-m-j"|elweizhi }}</td>
                    <td>{{ res.FROTO|date:"Y-m-j"|elweizhi }}</td>
                    <td>{{ res.FROAM|elfloat:1|elweizhi }}</td>
                    <td>{{ res.THAWAUTH|elweizhi }}</td>
                    <td>{{ res.THAWDOCNO|elweizhi }}</td>
                    <td>{{ res.THAWDATE|date:"Y-m-j"|elweizhi }}</td>
                    <td>{{ res.THAWCOMMENT|elweizhi }}</td>
                </tr>
            {% endfor %}
            </tbody>
        </table>
    {% else %}
        <p class="pdf-nodata">暂无</p>
    {% endif %}
</div>

<div class="pdf-divbox">
    <h2 class="pdf-secondtitle">4.2 股权出质历史信息</h2>
    {% if  el_stockimpawns %}
        <table class="pdf-table">
            <thead>
            <tr>
                <th style="width: 20px;"></th>
                <th style="width: 90px;">质权人姓名</th>
                <th style="width: 90px;">出质人类别</th>
                <th style="width: 90px;">出质额(万元)</th>
                <th style="width: 80px;">备案日期</th>
                <th>审批部门</th>
                <th style="width: 80px;">批准日期</th>
                <th style="width: 80px;">截至日期</th>
            </tr>
            </thead>
            <tbody>
            {% for res in el_stockimpawns %}
                <tr>
                    <td class="pdf-counter">{{ forloop.counter }}</td>
                    <td>{{ res.IMPORG }}</td>
                    <td>{{ res.get_IMPORGTYPE_display|elweizhi }}</td>
                    <td>{{ res.IMPAM|elfloat:1|elweizhi }}</td>
                    <td>{{ res.IMPONRECDATE|date:"Y-m-j"|elweizhi }}</td>
                    <td>{{ res.IMPEXAEEP|elweizhi }}</td>
                    <td>{{ res.IMPSANDATE|date:"Y-m-j"|elweizhi }}</td>
                    <td>{{ res.IMPTO|date:"Y-m-j"|elweizhi }}</td>
                </tr>
            {% endfor %}
            </tbody>
        </table>
    {% else %}
        <p class="pdf-nodata">暂无</p>
    {% endif %}
</div>

<div class="pdf-divbox">
    <h2 class="pdf-secondtitle">4.3 清算信息</h2>
    {% if  el_liquidations %}
        <table class="pdf-table">
            <thead>
            <tr>
                <th style="width: 20px;"></th>
                <th style="width: 80px;">清算责任人</th>
                <th style="width: 80px;">清算负责人</th>
                <th>清算组成员</th>
                <th style="width: 100px;">清算完结情况</th>
                <th style="width: 95px;">清算完结日期</th>
                <th style="width: 80px;">债务承接人</th>
                <th style="width: 80px;">债权承接人</th>
                <th style="width: 85px;">联系电话</th>
            </tr>
            </thead>
            <tbody>
            {% for res in el_liquidations %}
                <tr>
                    <td>{{ forloop.counter }}</td>
                    <td>{{ res.LIGENTITY|elweizhi }}</td>
                    <td>{{ res.LIGPRINCIPAL|elweizhi }}</td>
                    <td>{{ res.LIQMEN|elweizhi }}</td>
                    <td>{{ res.get_LIGST_display|elweizhi }}</td>
                    <td>{{ res.LIGENDDATE|date:"Y-m-j"|elweizhi }}</td>
                    <td>{{ res.DEBTTRANEE|elweizhi }}</td>
                    <td>{{ res.CLAIMTRANEE|elweizhi }}</td>
                    <td>{{ res.TEL|elweizhi }}</td>
                </tr>
            {% endfor %}
            </tbody>
        </table>
    {% else %}
        <p class="pdf-nodata">暂无</p>
    {% endif %}
</div>

<div class="pdf-divbox">
    <h2 class="pdf-secondtitle">4.4 行政处罚信息</h2>
    {% if case_basic %}
        {% for res in case_basic %}
            <table class="pdf-table pdf-table-list">
                <tr>
                    <th style="width: 20px;"></th>
                    <th style="width: 120px;">案发时间</th>
                    <th style="width: 120px;">违法行为类型</th>
                    <th style="width: 120px;">执行类别</th>
                    <th style="width: 120px;">处罚金额</th>
                    <th>处罚种类</th>
                </tr>
                <tr>
                    <td rowspan="5" class="pdf-counter">{{ forloop.counter }}</td>
                    <td>{{ res.CASETIME|date:"Y-m-j"|elweizhi }}</td>
                    <td>{{ res.ILLEGACTTYPE|elweizhi }}</td>
                    <td>{{ res.EXESORT|elweizhi }}</td>
                    <td>{{ res.PENAM|elweizhi }}</td>
                    <td>{{ res.PENTYPE|elweizhi }}</td>
                </tr>
                <tr>
                    <th>案件结果</th>
                    <th>案由</th>
                    <th>案值</th>
                    <th>处罚决定文书</th>
                    <th>处罚决定书签发日期</th>
                </tr>
                <tr>
                    <td>{{ res.CASERESULT|elweizhi }}</td>
                    <td>{{ res.CASEREASON|elweizhi }}</td>
                    <td>{{ res.CASEVAL|elweizhi }}</td>
                    <td>{{ res.PENDECNO|elweizhi }}</td>
                    <td>{{ res.PENDECISSDATE|date:"Y-m-j"|elweizhi }}</td>
                </tr>
                <tr>
                    <th>处罚结果</th>
                    <th>处罚机关</th>
                    <th>处罚依据</th>
                    <th>处罚执行情况</th>
                    <th>主要违法事实</th>
                </tr>
                <tr>
                    <td>{{ res.PENRESULT|elweizhi }}</td>
                    <td>{{ res.PENAUTH|elweizhi }}</td>
                    <td>{{ res.PENBASIS|elweizhi }}</td>
                    <td>{{ res.PENEXEST|elweizhi }}</td>
                    <td>{{ res.ILLEGFACT|elweizhi }}</td>
                </tr>
            </table>
        {% endfor %}
    {% else %}
        <p class="pdf-nodata">暂无</p>
    {% endif %}
</div>

<div class="pdf-divbox">
    <h2 class="pdf-secondtitle">4.5 被执行人信息</h2>
    {#    {% if  %}#}
    {#    <table class="pdf-table">#}
    {#        <tr>#}
    {#            <th style="width: 80px;">案号</th>#}
    {#            <th style="width: 80px;">被执行人</th>#}
    {#            <th style="width: 80px;">年龄</th>#}
    {#            <th style="width: 80px;">省份</th>#}
    {#            <th>执行法院</th>#}
    {#            <th style="width: 80px;">立案时间</th>#}
    {#            <th style="width: 80px;">案件状态</th>#}
    {#            <th style="width: 80px;">标的(元)</th>#}
    {#        </tr>#}
    {#    </table>#}
    {#        {% else %}#}
    <p class="pdf-nodata">暂无</p>
    {#    {% endif %}#}
</div>

<div class="pdf-divbox">
    <h2 class="pdf-secondtitle">4.6 失信被执行人信息</h2>
    {#    {% if  %}#}
    {#    <table class="pdf-table">#}
    {#        <tr>#}
    {#            <th>案号</th>#}
    {#            <th>被执行人</th>#}
    {#            <th>失信人类型</th>#}
    {#            <th>年龄</th>#}
    {#            <th>省份</th>#}
    {#            <th>执行法院</th>#}
    {#            <th>立案时间</th>#}
    {#            <th>案件状态</th>#}
    {#            <th>标的(元)</th>#}
    {#        </tr>#}
    {#    </table>#}
    {#        {% else %}#}
    <p class="pdf-nodata">暂无</p>
    {#    {% endif %}#}
</div>

<div class="pdf-divbox">
    <h2 class="pdf-secondtitle">4.7 欠税记录</h2>
    {#    {% if  %}#}
    {#    <table class="pdf-table">#}
    {#        <tr>#}
    {#            <th>发布时间</th>#}
    {#            <th>发布机关</th>#}
    {#            <th>经营地址</th>#}
    {#            <th>所欠税种</th>#}
    {#            <th>所欠金额</th>#}
    {#            <th>标题</th>#}
    {#        </tr>#}
    {#    </table>#}
    {#        {% else %}#}
    <p class="pdf-nodata">暂无</p>
    {#    {% endif %}#}
</div>
